<!doctype HTML public "-//W3C//DTD HTML 4.0 Frameset//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="generator" content="Adobe RoboHelp - www.adobe.com">
<title>Automatically maintaining targets for selectors</title>
<link rel="stylesheet" href="RoboHTML_ns.css"><script type="text/javascript" language="JavaScript" title="WebHelpSplitCss">
<!--
if (navigator.appName !="Netscape")
{   document.write("<link rel='stylesheet' href='RoboHTML.css'>");}
//-->
</script>
<script type="text/javascript" language="JavaScript" title="WebHelpInlineScript">
<!--
function reDo() {
  if (innerWidth != origWidth || innerHeight != origHeight)
     location.reload();
}
if ((parseInt(navigator.appVersion) == 4) && (navigator.appName == "Netscape")) {
	origWidth = innerWidth;
	origHeight = innerHeight;
	onresize = reDo;
}
onerror = null; 
//-->
</script>
<style type="text/css">
<!--
div.WebHelpPopupMenu { position:absolute; left:0px; top:0px; z-index:4; visibility:hidden; }
-->
</style><script type="text/javascript" language="javascript1.2" src="whmsg.js"></script>
<script type="text/javascript" language="javascript" src="whver.js"></script>
<script type="text/javascript" language="javascript1.2" src="whproxy.js"></script>
<script type="text/javascript" language="javascript1.2" src="whutils.js"></script>
<script type="text/javascript" language="javascript1.2" src="whlang.js"></script>
<script type="text/javascript" language="javascript1.2" src="whtopic.js"></script>
</head>
<body><script type="text/javascript" language="javascript1.2">
<!--
if (window.gbWhTopic)
{
	if (window.addTocInfo)
	{
	addTocInfo("Creating and modifying documents and dashboards\nDesigning dynamic enterprise dashboards\nProviding interactivity to users: Selectors\nAutomatically maintaining targets for selectors");
addButton("show",BTN_TEXT,"Show","","","","",0,0,"","","");

	}
	if (window.writeBtnStyle)
		writeBtnStyle();

	if (window.writeIntopicBar)
		writeIntopicBar(1);

	if(1)
	{
	
	}

	if (window.setRelStartPage)
	{
	setRelStartPage("MicroStrategy_Web_Help.htm");

		autoSync(1);
		sendSyncInfo();
		sendAveInfoOut();
	}
}
else
	if (window.gbIE4)
		document.location.reload();

//-->
</script>
<h1>Automatically maintaining targets for selectors</h1>
<h2>Before you begin</h2>
<p class=Tip-Note-Text>You should be familiar with the various properties 
 that define how a selector looks and what a selector controls, such as 
 target and source. See 
<a href="Defining_a_selector.htm">Defining a selector</a> 
 for descriptions. In particular, you should know that: </p>
<ul>
<li class=p-First-Bullet-Do-Not-Type-Text><p class=First-Bullet-Do-Not-Type-Text>&nbsp;</p></li>
</ul>
<ul>
<li class=p-Tip-Note-Text-Bulleted><p class=Tip-Note-Text-Bulleted>Targets 
 are the Grid/Graphs and/or panel stacks that the selector affects.</p></li>
	
<li class=p-Tip-Note-Text-Bulleted><p class=Tip-Note-Text-Bulleted>An 
 attribute selector displays attribute elements.</p></li>
	
<li class=p-Tip-Note-Text-Bulleted><p class=Tip-Note-Text-Bulleted>A 
 metric selector displays metrics. </p></li>
	
<li class=p-Tip-Note-Text-Bulleted><p class=Tip-Note-Text-Bulleted>A 
 panel selector allows the user to display the different panels of a panel 
 stack.</p></li>
</ul>
<p>Steps below show how to 
<a href="#To_determine_whether_targets_are_automatically_maintained">specify 
 whether targets are automatically maintained</a>.</p>
<h2>Automatically maintaining targets</h2>
<p>If targets are automatically maintained in the layout:</p>
<ul>
<li class=p-First-Bullet-Do-Not-Type-Text><p class=First-Bullet-Do-Not-Type-Text>&nbsp;</p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>All attribute 
 and metric selectors automatically target all Grid/Graphs and panel stacks 
 that are in the same panel or document section as the selector. </p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>You cannot 
 change the target of an attribute or metric selector, except by moving 
 controls to different document sections or by using the panel stack technique 
 described below.</p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>Any new 
 Grid/Graph or panel stack is added as the target of all attribute and 
 metric selectors in the same panel or document section. </p></li>
</ul>
<p><span style="font-weight: bold;"><B>Note</B></span>: Targets are not automatically 
 maintained for panel selectors; you always manually define the targets 
 for panel selectors. </p>
<p>If an object is moved between panels or document sections, selector 
 targets are updated to automatically maintain the targets. For example, 
 Selector 1 targets Panel Stack 1, located in the Document Header section. 
 The Detail Header section contains Selector 2, which targets Panel Stack 
 2 and Grid/Graph 1 which are also in the Detail Header section. If you 
 move Panel Stack 2 from the Detail Header to the Document Header:</p>
<ul>
<li class=p-First-Bullet-Do-Not-Type-Text><p class=First-Bullet-Do-Not-Type-Text>&nbsp;</p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>Selector 
 1 now targets Panel Stack 2, as well as Panel Stack 1. </p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>Selector 
 2 now targets only Grid/Graph 1.</p></li>
</ul>
<p>An attribute on a Grid/Graph can be used as a selector that targets 
 a panel stack or another Grid/Graph. If a user clicks an attribute on 
 the first Grid/Graph, the target changes to display information for only 
 that attribute. Automatic selector maintenance applies to these types 
 of selectors, as well. All the Grid/Graphs and panel stacks in the same 
 document section or panel as the selected Grid/Graph are chosen as targets. 
 For more information, see 
<a href="GG_controlling_GG.htm">Enabling Grid/Graphs 
 as selectors to control other Grid/Graphs</a>.</p>
<h2>Controlling which targets are updated when auto target maintenance 
 is enabled</h2>
<p>When targets are automatically maintained, you can still control what 
 target is chosen for a selector, by placing controls in different document 
 sections. For example, a document should have a selector that targets 
 Grid/Graph 1 but not Grid/Graph 2. Simply place Selector 1 and Grid/Graph 
 1 in one document section, which allows them to be linked. Place Grid/Graph 
 2 in another document section, and the Grid/Graph is not targeted by Selector 
 1. </p>
<p>If you cannot move controls, you can place them in different panel stacks 
 in the same document section. Make the panel stack invisible by using 
 a transparent background and no borders, and 
<a href="Hiding_title_bars_of_a_panel_stack.htm">hiding 
 the title bar</a>. Using the example above, you can then place Selector 
 1 and Grid/Graph 1 into Panel Stack 1. Grid/Graph 2 can be placed in the 
 same document section as Panel Stack 1, but Grid/Graph 2 is not targeted 
 by Selector 1. </p>
<h2>Disabling automatic target maintenance to allow manual target selection</h2>
<p>You may want to manually select the targets for attribute and metric 
 selectors. For example, you may want a selector to target a Grid/Graph 
 or panel stack that is not in the same document section or panel as the 
 selector. </p>
<p>To allow this, disable automatic target maintenance. Targets that were 
 automatically maintained are saved; no targets are deleted or changed. 
 You can now define new targets for existing attribute and metric selectors. 
 If you create any new selectors, you must manually select the targets 
 for them. </p>
<p>Steps to disable automatic target maintenance are below.</p>
<h2>Enabling automatic target maintenance</h2>
<p>When you enable automatic target maintenance on a layout, the targets 
 of all existing attribute and metric selectors are replaced with all the 
 Grid/Graphs and panel stacks that are in the same panel or document section 
 as the selector. </p>
<h2>
<a name=To_determine_whether_targets_are_automatically_maintained></a>To 
 specify whether targets are automatically maintained</h2>
<p><span style="font-weight: bold;"><B>Note</B></span><span>: You can also disable 
 automatic target maintenance when you are editing the properties of a 
 selector. On the Selector tab of the Properties dialog box, click </span><span 
 style="font-weight: bold;"><B>Manual Targets</B></span><span>. Like the following 
 procedure, this disables automatic target maintenance for the entire layout. 
 </span></p>
<ol><ul>
<li class=p-First-Steps-Do-Not-Type-Text><p class=First-Steps-Do-Not-Type-Text>&nbsp;</p></li>
	</ul>
	
<li class=p-Steps><p class=Steps>Open the document in the Document 
 Editor.</p></li>
	
<li class=p-Steps><p class=Steps>From the <span style="font-weight: bold;"><B>Format</B></span> 
 menu, select <span style="font-weight: bold;"><B>Document Properties</B></span>. 
 The Document Properties dialog box opens.</p></li>
	
<li class=p-Steps><p class=Steps>Click <span style="font-weight: bold;"><B>Layout 
 </B></span><span>in the list on the left. </span></p></li>
	
<li class=p-Steps><p class=Steps>Do one of the following:</p></li>
	<ul>
<li class=p-Steps-Bulleted-1><p class=Steps-Bulleted-1>To enable 
 automatic target maintenance, select the<span style="font-weight: bold;"><B> 
 Automatically maintain targets for all selectors in this layout </B></span>check 
 box.</p></li>
		
<li class=p-Steps-Bulleted-1><p class=Steps-Bulleted-1>To disable 
 automatic target maintenance, clear the <span style="font-weight: bold;"><B>&nbsp;Automatically 
 maintain targets for all selectors in this layout </B></span>check box.</p></li>
	</ul>
	
<li class=p-Steps><p class=Steps>Click <font style="font-weight: bold;">OK</font> 
 to return to the document.</p></li>
</ol>
<p class=Tip-Note-Heading>Related topics</p>
<ul>
<li class=p-First-Bullet-Do-Not-Type-Text><p class=First-Bullet-Do-Not-Type-Text>&nbsp;</p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>
<a href="Selectors.htm">Providing 
 interactivity to users: Selectors</a></p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>
<a href="Defining_a_selector.htm">Defining 
 selectors</a></p></li>
	
<li class=p-Topic-Text-Bulleted><p class=Topic-Text-Bulleted>
<a href="Methods_to_create_selector.htm">Methods 
 to create selectors</a></p></li>
</ul>
<script type="text/javascript" language="javascript1.2">
<!--
highlightSearch();
if (window.writeIntopicBar)
	writeIntopicBar(0);
if(0)
{

}
//-->
</script>
</body>
</html>
